module.exports = {
    devServer: {
        port: 8080,
        proxy: {
            '/api': {
                target: 'http://localhost:8081',
                changeOrigin: true,
                secure: false,
                pathRewrite: {
                    '^/api': ''
                }
            }
        },
        module: {
            rules: [
              {
                test: /\.css$/,
                use: ['vue-style-loader', 'css-loader']
              }
            ]
          }
    }
};